﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001303 RID: 4867
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueRewardInfoScNotify : IMessage<SyncRogueRewardInfoScNotify>, IMessage, IEquatable<SyncRogueRewardInfoScNotify>, IDeepCloneable<SyncRogueRewardInfoScNotify>, IBufferMessage
	{
		// Token: 0x17003D71 RID: 15729
		// (get) Token: 0x0600D9E6 RID: 55782 RVA: 0x002481FF File Offset: 0x002463FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueRewardInfoScNotify> Parser
		{
			get
			{
				return SyncRogueRewardInfoScNotify._parser;
			}
		}

		// Token: 0x17003D72 RID: 15730
		// (get) Token: 0x0600D9E7 RID: 55783 RVA: 0x00248206 File Offset: 0x00246406
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueRewardInfoScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D73 RID: 15731
		// (get) Token: 0x0600D9E8 RID: 55784 RVA: 0x00248218 File Offset: 0x00246418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueRewardInfoScNotify.Descriptor;
			}
		}

		// Token: 0x0600D9E9 RID: 55785 RVA: 0x0024821F File Offset: 0x0024641F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueRewardInfoScNotify()
		{
		}

		// Token: 0x0600D9EA RID: 55786 RVA: 0x00248227 File Offset: 0x00246427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueRewardInfoScNotify(SyncRogueRewardInfoScNotify other) : this()
		{
			this.rogueScoreRewardInfo_ = ((other.rogueScoreRewardInfo_ != null) ? other.rogueScoreRewardInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D9EB RID: 55787 RVA: 0x0024825C File Offset: 0x0024645C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueRewardInfoScNotify Clone()
		{
			return new SyncRogueRewardInfoScNotify(this);
		}

		// Token: 0x17003D74 RID: 15732
		// (get) Token: 0x0600D9EC RID: 55788 RVA: 0x00248264 File Offset: 0x00246464
		// (set) Token: 0x0600D9ED RID: 55789 RVA: 0x0024826C File Offset: 0x0024646C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueScoreRewardInfo RogueScoreRewardInfo
		{
			get
			{
				return this.rogueScoreRewardInfo_;
			}
			set
			{
				this.rogueScoreRewardInfo_ = value;
			}
		}

		// Token: 0x0600D9EE RID: 55790 RVA: 0x00248275 File Offset: 0x00246475
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueRewardInfoScNotify);
		}

		// Token: 0x0600D9EF RID: 55791 RVA: 0x00248283 File Offset: 0x00246483
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueRewardInfoScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueScoreRewardInfo, other.RogueScoreRewardInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D9F0 RID: 55792 RVA: 0x002482B8 File Offset: 0x002464B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueScoreRewardInfo_ != null)
			{
				num ^= this.RogueScoreRewardInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D9F1 RID: 55793 RVA: 0x002482F4 File Offset: 0x002464F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D9F2 RID: 55794 RVA: 0x002482FC File Offset: 0x002464FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D9F3 RID: 55795 RVA: 0x00248305 File Offset: 0x00246505
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueScoreRewardInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.RogueScoreRewardInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D9F4 RID: 55796 RVA: 0x00248338 File Offset: 0x00246538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueScoreRewardInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueScoreRewardInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D9F5 RID: 55797 RVA: 0x00248378 File Offset: 0x00246578
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueRewardInfoScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueScoreRewardInfo_ != null)
			{
				if (this.rogueScoreRewardInfo_ == null)
				{
					this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
				}
				this.RogueScoreRewardInfo.MergeFrom(other.RogueScoreRewardInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D9F6 RID: 55798 RVA: 0x002483CC File Offset: 0x002465CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D9F7 RID: 55799 RVA: 0x002483D8 File Offset: 0x002465D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueScoreRewardInfo_ == null)
					{
						this.RogueScoreRewardInfo = new RogueScoreRewardInfo();
					}
					input.ReadMessage(this.RogueScoreRewardInfo);
				}
			}
		}

		// Token: 0x040056B2 RID: 22194
		private static readonly MessageParser<SyncRogueRewardInfoScNotify> _parser = new MessageParser<SyncRogueRewardInfoScNotify>(() => new SyncRogueRewardInfoScNotify());

		// Token: 0x040056B3 RID: 22195
		private UnknownFieldSet _unknownFields;

		// Token: 0x040056B4 RID: 22196
		public const int RogueScoreRewardInfoFieldNumber = 6;

		// Token: 0x040056B5 RID: 22197
		private RogueScoreRewardInfo rogueScoreRewardInfo_;
	}
}
